package com.qijian.maindata.domain.query;

import com.baomidou.mybatisplus.annotation.TableName;
import com.qijian.common.utils.mybatis.WhereType;
import com.qijian.common.utils.mybatis.WhereTypeEnum;
import lombok.Data;
import lombok.ToString;

import java.util.List;


/**
 * 工序工单派单人员对象 查询条件类
 *
 * @author qijian
 * @date 2021-10-09
 */

@Data
@ToString
@TableName("main_process_order_users_approve")
public class ProcessOrderUsersApproveQuery {


    @WhereType(filed = "submit_user_id")
    private Long submitUserId;

    // 0 待审核 1拒绝, 2同意
    @WhereType(filed = "status")
    private Integer status;

    @WhereType(filed = "project_machine_no", tableName = "main_project", type = WhereTypeEnum.LIKE)
    private String projectMachineNo;

    @WhereType(filed = "work_id")
    private Long workId;

    private List<Long> workIds;

    @WhereType(filed = "work_code", tableName = "main_process_order", type = WhereTypeEnum.LIKE)
    private String workCode;

}
